package com.jltx.xq.relaxnewspro.utils;

import com.squareup.okhttp.Callback;
import com.squareup.okhttp.OkHttpClient;
import com.squareup.okhttp.Request;

/**
 * Created by bo on 2017/4/18.
 */

public class HttpUtil {
    private static final OkHttpClient mOkHttpClient = new OkHttpClient();
    public static boolean isWIFI = true;

    public static void enqueue(Request request, Callback responseCallback){
        mOkHttpClient.newCall(request).enqueue(responseCallback);
    }
}
